awk '{count[$4]++}END{for (i in count){print i, count[i]}}' sample.log| sort -rn -k 2
